class CreateEvents < ActiveRecord::Migration
  def self.up
    create_table :events do |t|
      t.column :title, :string
      t.column :time, :datetime
      t.column :place, :string
      t.column :genre, :string
      t.column :imdb_id, :integer
      t.column :created_at, :date
      t.column :body, :text
    end
  end

  def self.down
    drop_table :events
  end
end
